package com.organization.remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: inester
 * Date: 09.07.12
 * Time: 9:50
 * To change this template use File | Settings | File Templates.
 */
public interface DataService extends Remote {
    Map getOrganizationInfo() throws RemoteException;
    Map getElement(String nodeId) throws RemoteException;
    Map updateElement(Map params) throws RemoteException;
    Map addElement(Map params) throws RemoteException;
    Map deleteElement(Map params) throws RemoteException;
    List getBranch(String nodeId) throws RemoteException;
}
